package com.quanyan.place.entity;

import com.quanyan.common.Plugin.Page;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class TbBizPlaceBusinessAgentStatisticsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbBizPlaceBusinessAgentStatisticsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andEffectiveVisitCountIsNull() {
            addCriterion("effective_visit_count is null");
            return (Criteria) this;
        }

        public Criteria andEffectiveVisitCountIsNotNull() {
            addCriterion("effective_visit_count is not null");
            return (Criteria) this;
        }

        public Criteria andEffectiveVisitCountEqualTo(Integer value) {
            addCriterion("effective_visit_count =", value, "effectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andEffectiveVisitCountNotEqualTo(Integer value) {
            addCriterion("effective_visit_count <>", value, "effectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andEffectiveVisitCountGreaterThan(Integer value) {
            addCriterion("effective_visit_count >", value, "effectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andEffectiveVisitCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("effective_visit_count >=", value, "effectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andEffectiveVisitCountLessThan(Integer value) {
            addCriterion("effective_visit_count <", value, "effectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andEffectiveVisitCountLessThanOrEqualTo(Integer value) {
            addCriterion("effective_visit_count <=", value, "effectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andEffectiveVisitCountIn(List<Integer> values) {
            addCriterion("effective_visit_count in", values, "effectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andEffectiveVisitCountNotIn(List<Integer> values) {
            addCriterion("effective_visit_count not in", values, "effectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andEffectiveVisitCountBetween(Integer value1, Integer value2) {
            addCriterion("effective_visit_count between", value1, value2, "effectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andEffectiveVisitCountNotBetween(Integer value1, Integer value2) {
            addCriterion("effective_visit_count not between", value1, value2, "effectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andNewEffectiveVisitCountIsNull() {
            addCriterion("new_effective_visit_count is null");
            return (Criteria) this;
        }

        public Criteria andNewEffectiveVisitCountIsNotNull() {
            addCriterion("new_effective_visit_count is not null");
            return (Criteria) this;
        }

        public Criteria andNewEffectiveVisitCountEqualTo(Integer value) {
            addCriterion("new_effective_visit_count =", value, "newEffectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andNewEffectiveVisitCountNotEqualTo(Integer value) {
            addCriterion("new_effective_visit_count <>", value, "newEffectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andNewEffectiveVisitCountGreaterThan(Integer value) {
            addCriterion("new_effective_visit_count >", value, "newEffectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andNewEffectiveVisitCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("new_effective_visit_count >=", value, "newEffectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andNewEffectiveVisitCountLessThan(Integer value) {
            addCriterion("new_effective_visit_count <", value, "newEffectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andNewEffectiveVisitCountLessThanOrEqualTo(Integer value) {
            addCriterion("new_effective_visit_count <=", value, "newEffectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andNewEffectiveVisitCountIn(List<Integer> values) {
            addCriterion("new_effective_visit_count in", values, "newEffectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andNewEffectiveVisitCountNotIn(List<Integer> values) {
            addCriterion("new_effective_visit_count not in", values, "newEffectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andNewEffectiveVisitCountBetween(Integer value1, Integer value2) {
            addCriterion("new_effective_visit_count between", value1, value2, "newEffectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andNewEffectiveVisitCountNotBetween(Integer value1, Integer value2) {
            addCriterion("new_effective_visit_count not between", value1, value2, "newEffectiveVisitCount");
            return (Criteria) this;
        }

        public Criteria andPlaceBuyCountIsNull() {
            addCriterion("place_buy_count is null");
            return (Criteria) this;
        }

        public Criteria andPlaceBuyCountIsNotNull() {
            addCriterion("place_buy_count is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceBuyCountEqualTo(Integer value) {
            addCriterion("place_buy_count =", value, "placeBuyCount");
            return (Criteria) this;
        }

        public Criteria andPlaceBuyCountNotEqualTo(Integer value) {
            addCriterion("place_buy_count <>", value, "placeBuyCount");
            return (Criteria) this;
        }

        public Criteria andPlaceBuyCountGreaterThan(Integer value) {
            addCriterion("place_buy_count >", value, "placeBuyCount");
            return (Criteria) this;
        }

        public Criteria andPlaceBuyCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("place_buy_count >=", value, "placeBuyCount");
            return (Criteria) this;
        }

        public Criteria andPlaceBuyCountLessThan(Integer value) {
            addCriterion("place_buy_count <", value, "placeBuyCount");
            return (Criteria) this;
        }

        public Criteria andPlaceBuyCountLessThanOrEqualTo(Integer value) {
            addCriterion("place_buy_count <=", value, "placeBuyCount");
            return (Criteria) this;
        }

        public Criteria andPlaceBuyCountIn(List<Integer> values) {
            addCriterion("place_buy_count in", values, "placeBuyCount");
            return (Criteria) this;
        }

        public Criteria andPlaceBuyCountNotIn(List<Integer> values) {
            addCriterion("place_buy_count not in", values, "placeBuyCount");
            return (Criteria) this;
        }

        public Criteria andPlaceBuyCountBetween(Integer value1, Integer value2) {
            addCriterion("place_buy_count between", value1, value2, "placeBuyCount");
            return (Criteria) this;
        }

        public Criteria andPlaceBuyCountNotBetween(Integer value1, Integer value2) {
            addCriterion("place_buy_count not between", value1, value2, "placeBuyCount");
            return (Criteria) this;
        }

        public Criteria andPacketBuyCountIsNull() {
            addCriterion("packet_buy_count is null");
            return (Criteria) this;
        }

        public Criteria andPacketBuyCountIsNotNull() {
            addCriterion("packet_buy_count is not null");
            return (Criteria) this;
        }

        public Criteria andPacketBuyCountEqualTo(Integer value) {
            addCriterion("packet_buy_count =", value, "packetBuyCount");
            return (Criteria) this;
        }

        public Criteria andPacketBuyCountNotEqualTo(Integer value) {
            addCriterion("packet_buy_count <>", value, "packetBuyCount");
            return (Criteria) this;
        }

        public Criteria andPacketBuyCountGreaterThan(Integer value) {
            addCriterion("packet_buy_count >", value, "packetBuyCount");
            return (Criteria) this;
        }

        public Criteria andPacketBuyCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("packet_buy_count >=", value, "packetBuyCount");
            return (Criteria) this;
        }

        public Criteria andPacketBuyCountLessThan(Integer value) {
            addCriterion("packet_buy_count <", value, "packetBuyCount");
            return (Criteria) this;
        }

        public Criteria andPacketBuyCountLessThanOrEqualTo(Integer value) {
            addCriterion("packet_buy_count <=", value, "packetBuyCount");
            return (Criteria) this;
        }

        public Criteria andPacketBuyCountIn(List<Integer> values) {
            addCriterion("packet_buy_count in", values, "packetBuyCount");
            return (Criteria) this;
        }

        public Criteria andPacketBuyCountNotIn(List<Integer> values) {
            addCriterion("packet_buy_count not in", values, "packetBuyCount");
            return (Criteria) this;
        }

        public Criteria andPacketBuyCountBetween(Integer value1, Integer value2) {
            addCriterion("packet_buy_count between", value1, value2, "packetBuyCount");
            return (Criteria) this;
        }

        public Criteria andPacketBuyCountNotBetween(Integer value1, Integer value2) {
            addCriterion("packet_buy_count not between", value1, value2, "packetBuyCount");
            return (Criteria) this;
        }

        public Criteria andTimesBuyCountIsNull() {
            addCriterion("times_buy_count is null");
            return (Criteria) this;
        }

        public Criteria andTimesBuyCountIsNotNull() {
            addCriterion("times_buy_count is not null");
            return (Criteria) this;
        }

        public Criteria andTimesBuyCountEqualTo(BigDecimal value) {
            addCriterion("times_buy_count =", value, "timesBuyCount");
            return (Criteria) this;
        }

        public Criteria andTimesBuyCountNotEqualTo(BigDecimal value) {
            addCriterion("times_buy_count <>", value, "timesBuyCount");
            return (Criteria) this;
        }

        public Criteria andTimesBuyCountGreaterThan(BigDecimal value) {
            addCriterion("times_buy_count >", value, "timesBuyCount");
            return (Criteria) this;
        }

        public Criteria andTimesBuyCountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("times_buy_count >=", value, "timesBuyCount");
            return (Criteria) this;
        }

        public Criteria andTimesBuyCountLessThan(BigDecimal value) {
            addCriterion("times_buy_count <", value, "timesBuyCount");
            return (Criteria) this;
        }

        public Criteria andTimesBuyCountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("times_buy_count <=", value, "timesBuyCount");
            return (Criteria) this;
        }

        public Criteria andTimesBuyCountIn(List<BigDecimal> values) {
            addCriterion("times_buy_count in", values, "timesBuyCount");
            return (Criteria) this;
        }

        public Criteria andTimesBuyCountNotIn(List<BigDecimal> values) {
            addCriterion("times_buy_count not in", values, "timesBuyCount");
            return (Criteria) this;
        }

        public Criteria andTimesBuyCountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("times_buy_count between", value1, value2, "timesBuyCount");
            return (Criteria) this;
        }

        public Criteria andTimesBuyCountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("times_buy_count not between", value1, value2, "timesBuyCount");
            return (Criteria) this;
        }

        public Criteria andYearIsNull() {
            addCriterion("year is null");
            return (Criteria) this;
        }

        public Criteria andYearIsNotNull() {
            addCriterion("year is not null");
            return (Criteria) this;
        }

        public Criteria andYearEqualTo(String value) {
            addCriterion("year =", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotEqualTo(String value) {
            addCriterion("year <>", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThan(String value) {
            addCriterion("year >", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThanOrEqualTo(String value) {
            addCriterion("year >=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThan(String value) {
            addCriterion("year <", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThanOrEqualTo(String value) {
            addCriterion("year <=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLike(String value) {
            addCriterion("year like", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotLike(String value) {
            addCriterion("year not like", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearIn(List<String> values) {
            addCriterion("year in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotIn(List<String> values) {
            addCriterion("year not in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearBetween(String value1, String value2) {
            addCriterion("year between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotBetween(String value1, String value2) {
            addCriterion("year not between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andMonthIsNull() {
            addCriterion("month is null");
            return (Criteria) this;
        }

        public Criteria andMonthIsNotNull() {
            addCriterion("month is not null");
            return (Criteria) this;
        }

        public Criteria andMonthEqualTo(String value) {
            addCriterion("month =", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthNotEqualTo(String value) {
            addCriterion("month <>", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthGreaterThan(String value) {
            addCriterion("month >", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthGreaterThanOrEqualTo(String value) {
            addCriterion("month >=", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthLessThan(String value) {
            addCriterion("month <", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthLessThanOrEqualTo(String value) {
            addCriterion("month <=", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthLike(String value) {
            addCriterion("month like", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthNotLike(String value) {
            addCriterion("month not like", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthIn(List<String> values) {
            addCriterion("month in", values, "month");
            return (Criteria) this;
        }

        public Criteria andMonthNotIn(List<String> values) {
            addCriterion("month not in", values, "month");
            return (Criteria) this;
        }

        public Criteria andMonthBetween(String value1, String value2) {
            addCriterion("month between", value1, value2, "month");
            return (Criteria) this;
        }

        public Criteria andMonthNotBetween(String value1, String value2) {
            addCriterion("month not between", value1, value2, "month");
            return (Criteria) this;
        }

        public Criteria andRewardIsNull() {
            addCriterion("reward is null");
            return (Criteria) this;
        }

        public Criteria andRewardIsNotNull() {
            addCriterion("reward is not null");
            return (Criteria) this;
        }

        public Criteria andRewardEqualTo(BigDecimal value) {
            addCriterion("reward =", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardNotEqualTo(BigDecimal value) {
            addCriterion("reward <>", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardGreaterThan(BigDecimal value) {
            addCriterion("reward >", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("reward >=", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardLessThan(BigDecimal value) {
            addCriterion("reward <", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardLessThanOrEqualTo(BigDecimal value) {
            addCriterion("reward <=", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardIn(List<BigDecimal> values) {
            addCriterion("reward in", values, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardNotIn(List<BigDecimal> values) {
            addCriterion("reward not in", values, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("reward between", value1, value2, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("reward not between", value1, value2, "reward");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterionForJDBCDate("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterionForJDBCDate("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterionForJDBCDate("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateUidIsNull() {
            addCriterion("create_uid is null");
            return (Criteria) this;
        }

        public Criteria andCreateUidIsNotNull() {
            addCriterion("create_uid is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUidEqualTo(Integer value) {
            addCriterion("create_uid =", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidNotEqualTo(Integer value) {
            addCriterion("create_uid <>", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidGreaterThan(Integer value) {
            addCriterion("create_uid >", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("create_uid >=", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidLessThan(Integer value) {
            addCriterion("create_uid <", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidLessThanOrEqualTo(Integer value) {
            addCriterion("create_uid <=", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidIn(List<Integer> values) {
            addCriterion("create_uid in", values, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidNotIn(List<Integer> values) {
            addCriterion("create_uid not in", values, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidBetween(Integer value1, Integer value2) {
            addCriterion("create_uid between", value1, value2, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidNotBetween(Integer value1, Integer value2) {
            addCriterion("create_uid not between", value1, value2, "createUid");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeIsNull() {
            addCriterion("user_role_type is null");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeIsNotNull() {
            addCriterion("user_role_type is not null");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeEqualTo(Byte value) {
            addCriterion("user_role_type =", value, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeNotEqualTo(Byte value) {
            addCriterion("user_role_type <>", value, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeGreaterThan(Byte value) {
            addCriterion("user_role_type >", value, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("user_role_type >=", value, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeLessThan(Byte value) {
            addCriterion("user_role_type <", value, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeLessThanOrEqualTo(Byte value) {
            addCriterion("user_role_type <=", value, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeIn(List<Byte> values) {
            addCriterion("user_role_type in", values, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeNotIn(List<Byte> values) {
            addCriterion("user_role_type not in", values, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeBetween(Byte value1, Byte value2) {
            addCriterion("user_role_type between", value1, value2, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andUserRoleTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("user_role_type not between", value1, value2, "userRoleType");
            return (Criteria) this;
        }

        public Criteria andTargetCountIsNull() {
            addCriterion("target_count is null");
            return (Criteria) this;
        }

        public Criteria andTargetCountIsNotNull() {
            addCriterion("target_count is not null");
            return (Criteria) this;
        }

        public Criteria andTargetCountEqualTo(Integer value) {
            addCriterion("target_count =", value, "targetCount");
            return (Criteria) this;
        }

        public Criteria andTargetCountNotEqualTo(Integer value) {
            addCriterion("target_count <>", value, "targetCount");
            return (Criteria) this;
        }

        public Criteria andTargetCountGreaterThan(Integer value) {
            addCriterion("target_count >", value, "targetCount");
            return (Criteria) this;
        }

        public Criteria andTargetCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("target_count >=", value, "targetCount");
            return (Criteria) this;
        }

        public Criteria andTargetCountLessThan(Integer value) {
            addCriterion("target_count <", value, "targetCount");
            return (Criteria) this;
        }

        public Criteria andTargetCountLessThanOrEqualTo(Integer value) {
            addCriterion("target_count <=", value, "targetCount");
            return (Criteria) this;
        }

        public Criteria andTargetCountIn(List<Integer> values) {
            addCriterion("target_count in", values, "targetCount");
            return (Criteria) this;
        }

        public Criteria andTargetCountNotIn(List<Integer> values) {
            addCriterion("target_count not in", values, "targetCount");
            return (Criteria) this;
        }

        public Criteria andTargetCountBetween(Integer value1, Integer value2) {
            addCriterion("target_count between", value1, value2, "targetCount");
            return (Criteria) this;
        }

        public Criteria andTargetCountNotBetween(Integer value1, Integer value2) {
            addCriterion("target_count not between", value1, value2, "targetCount");
            return (Criteria) this;
        }

        public Criteria andCompleteCountIsNull() {
            addCriterion("complete_count is null");
            return (Criteria) this;
        }

        public Criteria andCompleteCountIsNotNull() {
            addCriterion("complete_count is not null");
            return (Criteria) this;
        }

        public Criteria andCompleteCountEqualTo(Integer value) {
            addCriterion("complete_count =", value, "completeCount");
            return (Criteria) this;
        }

        public Criteria andCompleteCountNotEqualTo(Integer value) {
            addCriterion("complete_count <>", value, "completeCount");
            return (Criteria) this;
        }

        public Criteria andCompleteCountGreaterThan(Integer value) {
            addCriterion("complete_count >", value, "completeCount");
            return (Criteria) this;
        }

        public Criteria andCompleteCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("complete_count >=", value, "completeCount");
            return (Criteria) this;
        }

        public Criteria andCompleteCountLessThan(Integer value) {
            addCriterion("complete_count <", value, "completeCount");
            return (Criteria) this;
        }

        public Criteria andCompleteCountLessThanOrEqualTo(Integer value) {
            addCriterion("complete_count <=", value, "completeCount");
            return (Criteria) this;
        }

        public Criteria andCompleteCountIn(List<Integer> values) {
            addCriterion("complete_count in", values, "completeCount");
            return (Criteria) this;
        }

        public Criteria andCompleteCountNotIn(List<Integer> values) {
            addCriterion("complete_count not in", values, "completeCount");
            return (Criteria) this;
        }

        public Criteria andCompleteCountBetween(Integer value1, Integer value2) {
            addCriterion("complete_count between", value1, value2, "completeCount");
            return (Criteria) this;
        }

        public Criteria andCompleteCountNotBetween(Integer value1, Integer value2) {
            addCriterion("complete_count not between", value1, value2, "completeCount");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}